from django.urls import path
from course import views

urlpatterns = [
    path('question_cutView/', views.question_cutView.as_view(), name='question_cutView'),
    # 答案生成
    path('generate_answer/', views.generate_answer.as_view(), name='generate_answer'),
    # 记录浏览时间
    path('record_courseView/', views.record_course_view.as_view(), name='record_course_view'),
    # 推荐
    path('recommendationView/', views.recommendationView.as_view(), name='recommendationView'),
    # 模糊查询
    path('SearchView/', views.SearchView.as_view(), name='SearchView'),
    # 浏览历史
    path('browsing_historyView/', views.browsing_historyView.as_view(), name='browsing_historyView'),
    # 搜索浏览历史
    path('browsing_historySearchView/', views.browsing_historySearchView.as_view(), name='browsing_historySearchView'),
    # 删除特定的浏览历史
    path('browsing_historyDeleteView/', views.browsing_historyDeleteView.as_view(), name='browsing_historyDeleteView'),
    # 删除全部的浏览历史
    path('browsing_historyAllDeleteView/', views.browsing_historyAllDeleteView.as_view(), name='browsing_historyAllDeleteView'),
    # 跳转课程详情
    path('course_detailsView/', views.course_detailsView.as_view(), name='course_detailsView'),
    # 试卷点赞
    path('ExamLikeView/', views.ExamLikeView.as_view(), name='ExamLikeView'),
    # 作业点赞
    path('WorkLikeView/', views.WorkLikeView.as_view(), name='WorkLikeView'),
    # 点赞列表
    path('UserLikeView/', views.UserLikeView.as_view(), name='UserLikeView'),
    # 试卷收藏
    path('ExamFavoriteView/', views.ExamFavoriteView.as_view(), name='ExamFavoriteView'),
    # 作业收藏
    path('WorkFavoriteView/', views.WorkFavoriteView.as_view(), name='WorkFavoriteView'),
    # 收藏列表
    path('UserFavoriteView/', views.UserFavoriteView.as_view(), name='UserFavoriteView'),
    # 反馈作业点赞收藏情况
    path('ReflectWLikeAndFavorite/', views.ReflectWLikeAndFavorite.as_view(), name='ReflectWLikeAndFavorite'),
    # 反馈试卷点赞收藏情况
    path('ReflectELikeAndFavorite/', views.ReflectELikeAndFavorite.as_view(), name='ReflectELikeAndFavorite'),
    # 离线缓存
    path('CacheCourse/', views.CacheCourse.as_view(), name='CacheCourse'),
    # 离线缓存列表
    path('UserCacheView/', views.UserCacheView.as_view(), name='UserCacheView'),
    # 删除单个离线缓存记录
    path('DelOneCached/', views.DelOneCached.as_view(), name='DelOneCached'),
    # 删除全部离线缓存记录
    path('DelAllCached/', views.DelAllCached.as_view(), name='DelAllCached'),
]
